package com.yxlcommon.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author yxl
 * @since 2021-11-07
 */
@Data
public class WorkComment implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long commentId;
    private Integer userId;
    private String content;
    private Long workId;
    private Date createdTime;
    private Date modifyTime;
    private Byte contentStatus;
    private Long contentPraise;
    @TableField(exist = false)
    private String username;

}
